#!/bin/bash

SERVER_NAME="arthas-tunnel-server-3.6.9-fatjar"
JVM_OPS="-Xms64m -Xmx128m -Xmn64m -XX:MaxMetaspaceSize=128m"
RUN_OPS="--server.port=8080"
nohup java ${JVM_OPS} -jar ${SERVER_NAME}.jar ${RUN_OPS} >>startup.log 2>&1 &

#nohup java -Dspring.cloud.nacos.config.server-addr=172.16.134.226:8848 -Dspring.cloud.nacos.config.namespace=2f3e7b29-761b-4731-8625-516c11168d8a -Dspring.profiles.active=prod_qyd -jar data-cdc-server.jar &